package com.learn.xueer.data.model.bean

import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
import java.io.Serializable

class PkResponse(
    var wordsList: List<WordBean>,
    var otherUser: OtherUserInfo
) : Serializable

class OtherUserInfo(
    var id: Int,
    var avatar: String,
    var nickname: String
) : Serializable

@Parcelize
class WordBean(
    var dId: String,
    var wId: String,
    var words: String,
    var pretations: String,
    var versionId: Int,
    var id: Int,
    var falseList: List<WordBean>
) : Serializable,Parcelable

@Parcelize
data class QuestionBean(
    var otherAnswer:Int, // 0 回答错误, 1 回答正确
    var hasAnswer:Int, // -1 未作答, 0 回答错误, 1 回答正确
    var answerIndex:Int,
    var wordsList: ArrayList<WordBean>
): Parcelable